package edu.gdkm;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bean1 {
    private String msg;
    private Student student;
    public void show(){
        System.out.println(student.getName() + ":" + msg);
    }
}
